﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccess;
using DTO;

namespace Business
{
    public static class GoalBUS
    {
        public static List<GoalDTO> GetGoalList()
        {
            return GoalDAO.GetGoalList();
        }                

        public static bool AddNewGoal(GoalDTO dtoGoal)
        {
            return GoalDAO.AddNewGoal(dtoGoal);
        }

        public static bool UpdateGoal(GoalDTO dtoGoal)
        {
            return GoalDAO.UpdateGoal(dtoGoal);
        }

        public static bool DeleteAGoal(GoalDTO dtoGoal)
        {
            return GoalDAO.DeleteAGoal(dtoGoal);
        }

        public static bool DeleteAllGoal()
        {
            return GoalDAO.DeleteAllGoal();
        }
    }
}
